﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _007_继承与多态
{
    class Program
    {
        static void Main(string[] args)
        {
            Son son = new Son();
            Console.WriteLine("丈母娘问，有多少房子");
            Console.WriteLine("有" + son.GetHouse() + "房子");

            Uncle uncle = new Uncle();
            Console.WriteLine("叔叔有" + uncle.GetHouse() + "房子");

            Client vip =new VIP();

            vip.CheckIn();
            vip.Wait();
            vip.GetHashCode();

            Console.ReadKey();
        }
    }
}
